package com.dmlll.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class FamilyPlanning {
    private Integer id;

    private Integer peerId;

    private Integer maritalProve;

    private String maritalSerial;

    private Integer maritalId;

    private Integer boyNum;

    private Integer girlNum;

    private Integer policyOuter;

    private Integer policyWithin;

    private Integer onlyChild;

    private Integer societyAlimony;

    private Integer pregnancyContraception;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date contraceptivesTime;

    private Integer yearAccrue;
@DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date childrenTime;

    private Integer policyAbout;

    private Integer personalId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPeerId() {
        return peerId;
    }

    public void setPeerId(Integer peerId) {
        this.peerId = peerId;
    }

    public Integer getMaritalProve() {
        return maritalProve;
    }

    public void setMaritalProve(Integer maritalProve) {
        this.maritalProve = maritalProve;
    }

    public String getMaritalSerial() {
        return maritalSerial;
    }

    public void setMaritalSerial(String maritalSerial) {
        this.maritalSerial = maritalSerial == null ? null : maritalSerial.trim();
    }

    public Integer getMaritalId() {
        return maritalId;
    }

    public void setMaritalId(Integer maritalId) {
        this.maritalId = maritalId;
    }

    public Integer getBoyNum() {
        return boyNum;
    }

    public void setBoyNum(Integer boyNum) {
        this.boyNum = boyNum;
    }

    public Integer getGirlNum() {
        return girlNum;
    }

    public void setGirlNum(Integer girlNum) {
        this.girlNum = girlNum;
    }

    public Integer getPolicyOuter() {
        return policyOuter;
    }

    public void setPolicyOuter(Integer policyOuter) {
        this.policyOuter = policyOuter;
    }

    public Integer getPolicyWithin() {
        return policyWithin;
    }

    public void setPolicyWithin(Integer policyWithin) {
        this.policyWithin = policyWithin;
    }

    public Integer getOnlyChild() {
        return onlyChild;
    }

    public void setOnlyChild(Integer onlyChild) {
        this.onlyChild = onlyChild;
    }

    public Integer getSocietyAlimony() {
        return societyAlimony;
    }

    public void setSocietyAlimony(Integer societyAlimony) {
        this.societyAlimony = societyAlimony;
    }

    public Integer getPregnancyContraception() {
        return pregnancyContraception;
    }

    public void setPregnancyContraception(Integer pregnancyContraception) {
        this.pregnancyContraception = pregnancyContraception;
    }

    public Date getContraceptivesTime() {
        return contraceptivesTime;
    }

    public void setContraceptivesTime(Date contraceptivesTime) {
        this.contraceptivesTime = contraceptivesTime;
    }

    public Integer getYearAccrue() {
        return yearAccrue;
    }

    public void setYearAccrue(Integer yearAccrue) {
        this.yearAccrue = yearAccrue;
    }

    public Date getChildrenTime() {
        return childrenTime;
    }

    public void setChildrenTime(Date childrenTime) {
        this.childrenTime = childrenTime;
    }

    public Integer getPolicyAbout() {
        return policyAbout;
    }

    public void setPolicyAbout(Integer policyAbout) {
        this.policyAbout = policyAbout;
    }

    public Integer getPersonalId() {
        return personalId;
    }

    public void setPersonalId(Integer personalId) {
        this.personalId = personalId;
    }
}